package com.cckat.mapper;


import com.cckat.base.BaseMapper;
import com.cckat.entity.AdminRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 静海基地
 */
public interface AdminRoleMapper extends BaseMapper<AdminRole> {
    void deleteByAdminId(@Param("adminId") Long adminId);

    void assignRole(@Param("adminId") Long adminId, @Param("roleIds") List<Long> roleIds);
}
